﻿package {
	import flash.display.Sprite;
	import flash.display.GradientType;
	import flash.geom.Matrix;
			
	public class ResetButton extends Sprite {
		public var scale: Number;
		public var matrix:Matrix = new Matrix;
		public var red: Boolean;
		public var up: Boolean;
	public function ResetButton2():void 
	{
		drawButton();
	}

	private function drawButton():void
	{
		var button:Sprite = new Sprite();
		button.buttonMode = true;
//		 Create an up state for the button.
        var up:Sprite = new Sprite();
        up.graphics.lineStyle(1, 0x000000);
        up.graphics.beginFill(0x00FF00);
        up.graphics.drawRect(0, 0, 100, 30);
        up.name = "up";

	}